Skip to content

Fix test for Apache Parquet files for file 5.47#363

Merged
ahupp merged 1 commit into
ahupp:masterfrom
MysteryBlokHed:test/update-parquet-output
May 11, 2026
Merged

Fix test for Apache Parquet files for file 5.47#363
ahupp merged 1 commit into
ahupp:masterfrom
MysteryBlokHed:test/update-parquet-output

Conversation

@MysteryBlokHed
Copy link
Copy Markdown
Contributor

The output for Parquet files changed in 5.47. This PR edits the test to accept both the old and new output.

# Old
$ file example.parquet
example.parquet: Apache Parquet
$ file --mime example.parquet
example.parquet: application/octet-stream; charset=binary

# New
$ file example.parquet
example.parquet: Apache Parquet file
$ file --mime example.parquet
example.parquet: application/vnd.apache.parquet; charset=binary

The output for Parquet files changed in 5.47. This commit edits the test
to accept both the old and new output.

```sh
# Old
$ file example.parquet
example.parquet: Apache Parquet
$ file --mime example.parquet
example.parquet: application/octet-stream; charset=binary

# New
$ file example.parquet
example.parquet: Apache Parquet file
$ file --mime example.parquet
example.parquet: application/vnd.apache.parquet; charset=binary
```
@ahupp ahupp merged commit a1fad43 into ahupp:master May 11, 2026
@MysteryBlokHed MysteryBlokHed deleted the test/update-parquet-output branch May 11, 2026 02:20
@ddelange
Copy link
Copy Markdown
Contributor

fyi having file 5.47 in GitHub Actions is blocked by #362

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants